package com.yiyahui.project.erp.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.yiyahui.framework.aspectj.lang.annotation.Excel;
import com.yiyahui.framework.web.domain.BaseEntity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 渠道修改审核对象 yiya_channel_audit
 * 
 * @author yiyahui
 * @date 2020-05-27
 */

@ApiModel(value="渠道修改审核对象")
public class YiyaChannelAudit extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 市场建档id */
    @ApiModelProperty(value="市场建档id")
    @Excel(name = "市场建档id")
    private Long marketReservationId;

    /** 门诊患者id */
    @ApiModelProperty(value="门诊患者id")
    @Excel(name = "门诊患者id")
    private Long clinicPersonId;

    /** 资源地址 */
    @ApiModelProperty(value="资源地址")
    @Excel(name = "资源地址")
    private String url;

    /** 新建档人 */
    @ApiModelProperty(value="新建档人")
    @Excel(name = "新建档人")
    private String newFilingPerson;

    /** 新跟进人 */
    @ApiModelProperty(value="新跟进人")
    @Excel(name = "新跟进人")
    private String newFollowPerson;

    /** 新归属人 */
    @ApiModelProperty(value="新归属人")
    @Excel(name = "新归属人")
    private String newAffiliationPerson;

    /** 一级渠道 */
    @ApiModelProperty(value="一级渠道")
    @Excel(name = "一级渠道")
    private String channelFirst;

    /** 二级渠道 */
    @ApiModelProperty(value="二级渠道")
    @Excel(name = "二级渠道")
    private String channelSecond;

    /** 三级渠道 */
    @ApiModelProperty(value="三级渠道")
    @Excel(name = "三级渠道")
    private String channelThird;

    /** 一级媒介 */
    @ApiModelProperty(value="一级媒介")
    @Excel(name = "一级媒介")
    private String mediumFirst;

    /** 二级媒介 */
    @ApiModelProperty(value="二级媒介")
    @Excel(name = "二级媒介")
    private String mediumSecond;

    /** 三级媒介 */
    @ApiModelProperty(value="三级媒介")
    @Excel(name = "三级媒介")
    private String mediumThird;

    /** 审核状态 0 新建 1 审核通过 2 审核不通过 */
    @ApiModelProperty(value="审核状态 0 新建 1 审核通过 2 审核不通过")
    @Excel(name = "审核状态 0 新建 1 审核通过 2 审核不通过")
    private Integer auditStatus;

    /** 审核时间 */
    @ApiModelProperty(value="审核时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date auditTime;

    /** 审核人 */
    @ApiModelProperty(value="审核人")
    @Excel(name = "审核人")
    private String auditPerson;

    /** 备注 */
    @ApiModelProperty(value="备注")
    @Excel(name = "备注")
    private String remarks;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setMarketReservationId(Long marketReservationId) 
    {
        this.marketReservationId = marketReservationId;
    }

    public Long getMarketReservationId() 
    {
        return marketReservationId;
    }
    public void setClinicPersonId(Long clinicPersonId) 
    {
        this.clinicPersonId = clinicPersonId;
    }

    public Long getClinicPersonId() 
    {
        return clinicPersonId;
    }
    public void setUrl(String url) 
    {
        this.url = url;
    }

    public String getUrl() 
    {
        return url;
    }
    public void setNewFilingPerson(String newFilingPerson) 
    {
        this.newFilingPerson = newFilingPerson;
    }

    public String getNewFilingPerson() 
    {
        return newFilingPerson;
    }
    public void setNewFollowPerson(String newFollowPerson) 
    {
        this.newFollowPerson = newFollowPerson;
    }

    public String getNewFollowPerson() 
    {
        return newFollowPerson;
    }
    public void setNewAffiliationPerson(String newAffiliationPerson) 
    {
        this.newAffiliationPerson = newAffiliationPerson;
    }

    public String getNewAffiliationPerson() 
    {
        return newAffiliationPerson;
    }
    public void setChannelFirst(String channelFirst) 
    {
        this.channelFirst = channelFirst;
    }

    public String getChannelFirst() 
    {
        return channelFirst;
    }
    public void setChannelSecond(String channelSecond) 
    {
        this.channelSecond = channelSecond;
    }

    public String getChannelSecond() 
    {
        return channelSecond;
    }
    public void setChannelThird(String channelThird) 
    {
        this.channelThird = channelThird;
    }

    public String getChannelThird() 
    {
        return channelThird;
    }
    public void setMediumFirst(String mediumFirst) 
    {
        this.mediumFirst = mediumFirst;
    }

    public String getMediumFirst() 
    {
        return mediumFirst;
    }
    public void setMediumSecond(String mediumSecond) 
    {
        this.mediumSecond = mediumSecond;
    }

    public String getMediumSecond() 
    {
        return mediumSecond;
    }
    public void setMediumThird(String mediumThird) 
    {
        this.mediumThird = mediumThird;
    }

    public String getMediumThird() 
    {
        return mediumThird;
    }
    public void setAuditStatus(Integer auditStatus) 
    {
        this.auditStatus = auditStatus;
    }

    public Integer getAuditStatus() 
    {
        return auditStatus;
    }
    public void setAuditTime(Date auditTime) 
    {
        this.auditTime = auditTime;
    }

    public Date getAuditTime() 
    {
        return auditTime;
    }
    public void setAuditPerson(String auditPerson) 
    {
        this.auditPerson = auditPerson;
    }

    public String getAuditPerson() 
    {
        return auditPerson;
    }
    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("marketReservationId", getMarketReservationId())
            .append("clinicPersonId", getClinicPersonId())
            .append("url", getUrl())
            .append("newFilingPerson", getNewFilingPerson())
            .append("newFollowPerson", getNewFollowPerson())
            .append("newAffiliationPerson", getNewAffiliationPerson())
            .append("channelFirst", getChannelFirst())
            .append("channelSecond", getChannelSecond())
            .append("channelThird", getChannelThird())
            .append("mediumFirst", getMediumFirst())
            .append("mediumSecond", getMediumSecond())
            .append("mediumThird", getMediumThird())
            .append("auditStatus", getAuditStatus())
            .append("auditTime", getAuditTime())
            .append("auditPerson", getAuditPerson())
            .append("remarks", getRemarks())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
